package com.itlong.cloud.app.service.impl;

import com.itlong.cloud.POJO.VO.app.AppGetCarPaymentDetailVO;
import com.itlong.cloud.app.dao.IAppCarPaymentDetailDao;
import com.itlong.cloud.app.service.IAppCarPaymentDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * <desc>
 *      车辆缴费明细服务层接口实现类
 * </desc>
 *
 * @createDate 2018/11/12
 */
@Service
public class AppCarPaymentDetailServiceImpl implements IAppCarPaymentDetailService {

    @Autowired
    private IAppCarPaymentDetailDao iAppCarPaymentDetailDao;

    /**
     * <desc>
     *      获取该用户车辆缴费明细
     * </desc>
     *
     * @return 该用户车辆缴费明细
     * @author wanghzi
     * @createDate 2018/11/12
     */
    @Override
    @Transactional(propagation = Propagation.NOT_SUPPORTED)
    public AppGetCarPaymentDetailVO getCarPayDetail(String recordId) throws Exception {
        return iAppCarPaymentDetailDao.getCarPayDetail(recordId);
    }
}
